package com.yq.day24;

import java.io.FileInputStream;

import java.io.IOException;

/**
 * @author 3307235355@qq.com
 * @since 2022/06/24 10:31
 */
public class Demo02 {
    public static void main(String[] args) throws IOException {
        FileInputStream in = new FileInputStream("a.txt");
        byte[] bytes = new byte[1024];
        int read = in.read(bytes);
        System.out.println(read);
        in.close();


    }
}
